<?php
	
class Table_Nationalite extends Zend_Db_Table_Abstract
{
    protected $_name    = 'nationalite';
    protected $_primary = 'NATIONALITE_NUMERO';
    protected $_sequence = true;
 	
	
	
	public function getAllNationalite(){
		return $this->fetchAll($this->select());
	}
	
	public function getNationalite($id) {
		return $this-> fetchRow($this
			->select()
			->from($this, array('*'))
			->where('nationalite_numero = ?', $id)
			);
	}

}